package com.example.learnspringboot11elasticsearch.repository;

import com.example.learnspringboot11elasticsearch.bean.Book;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

//public interface BookRepository extends ElasticsearchRepository<Book,Integer> {
//    //参照
//    // https://docs.spring.io/spring-data/elasticsearch/docs/3.0.6.RELEASE/reference/html/
//     List<Book> findByBookNameLike(String bookName);
//}
